<%@ page contentType="text/html; charset=utf-8" %>
<%@ page import="cn.lily.inst.web.frames.FrameConfig" %>
<%@ page import="cn.lily.inst.web.security.SystemManager" %>
<%@ page import="cn.lily.web.util.context.WebContext" %>
<%@ page import="cn.lily.esb.context.AuthEntity" %>
<%@ include file="/global.jsp"%> 
<%
 	String menuid= request.getParameter("id");
 	FrameConfig.setContextPath(contextPath);
 	String menuStr = "";
 	String skinName = "";
 	AuthEntity authEntity = (AuthEntity) session.getAttribute(WebContext.LOG_AUTH_CONTEXT);
 	if (authEntity != null)
 	{
 	 	skinName      = authEntity.getSkinName();
 	  	SystemManager om = new SystemManager();
 	  	menuStr  = om.getMenuStr(authEntity,menuid);
 	}
 %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title><%=FrameConfig.getAppName()%></title>
	<link href="<%=FrameConfig.getCSSPath("/menu/menu.css")%>" type="text/css" rel="stylesheet">
	<script language="JavaScript1.2" src="menuClick.js"></script>
	<style type="text/css">
		body {margin: 0px;}
		.STYLE1 {font-size: 12px;color: #FFFFFF;}
		.STYLE3 {font-size: 12px;color: #033d61;}
		.menu_title SPAN {FONT-WEIGHT: bold; LEFT: 3px; COLOR: #ffffff; POSITION: relative; TOP: 2px}
		.menu_title2 SPAN {FONT-WEIGHT: bold; LEFT: 3px; COLOR: #FFCC00; POSITION: relative; TOP: 2px}
	</style>
	
</head>

<body onload="initDocument();">
	<table width="165" height="100%" border="0" cellpadding="0" cellspacing="0">
	  <tr>
	    <td height="28" background="<%=FrameConfig.getFramePath("main_40.gif")%>">
	      <table width="100%" border="0" cellspacing="0" cellpadding="0">
	      <tr>
	        <td width="19%">&nbsp;</td>
	        <td width="81%" height="20"><span class="STYLE1">系统菜单</span></td>
	      </tr>
	    </table></td>
	  </tr>
	  <tr>
	    <td valign="top" align="center"><%=menuStr%></td>
	  </tr>
	  <tr>
	    <td height="18" background="<%=FrameConfig.getFramePath("main_58.gif")%>">
	    <table width="100%" border="0" cellspacing="0" cellpadding="0">
	      <tr>
	        <td height="18" valign="bottom"><div align="center" class="STYLE3"><%=FrameConfig.getCopyright()%></div></td>
	      </tr>
	    </table></td>
	  </tr>
	</table>
	

</body>
